//
//  YZPigModel.h
//  VET
//
//  Created by 刘文靖 on 2018/7/18.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YZBaseAPI.h"
#import "YZAutoItemModel.h"

@interface YZPigModel : NSObject

@property (nonatomic, assign) NSInteger pigId; ///< 猪只Id
@property (nonatomic, strong) NSString *earMark; ///< 耳标号
@property (nonatomic, strong) NSString *earNumber; ///< 耳号
@property (nonatomic, strong) YZAutoItemModel *swineClass; ///< 猪只分类
@property (nonatomic, strong) YZAutoItemModel *swineSex; ///< 性别
@property (nonatomic, strong) YZAutoItemModel *swineSpecies; ///< 品种
@property (nonatomic, assign) NSTimeInterval swineBirthdate; ///<出生日期
@property (nonatomic, strong) YZAutoItemModel *swineState; ///< 状态

@property (nonatomic, strong) NSString *pigBirthdateStr; ///<日龄（天）
@property (nonatomic, strong) NSString *pigOptionStr; ///<选择猪只时 显示的信息

@end

@interface YZPigModelAPI : YZBaseAPI
/** 猪只列表 */
+ (RACSignal*)requestSwineList:(NSInteger)index earMark:(NSString *)earMark type:(NSString *)type;
@end
